import request from '@/utils/request'

export function fakeUserList(data) {
  return request({
    url: '/fakeUser/list',
    method: 'post',
    data
  })
}

export function fakeUserCreate(data) {
  return request({
    url: '/fakeUser/create',
    method: 'post',
    data
  })
}

export function fakeUserUpdate(data) {
  return request({
    url: '/fakeUser/update',
    method: 'post',
    data
  })
}

export function fakeUserRemove(data) {
  return request({
    url: '/fakeUser/remove',
    method: 'post',
    data
  })
}

export function fakeCategoryList(data) {
  return request({
    url: '/fakeCategory/list',
    method: 'post',
    data
  })
}

export function fakeCategoryAll() {
  return request({
    url: '/fakeCategory/all',
    method: 'post'
  })
}

export function fakeCategoryCreate(data) {
  return request({
    url: '/fakeCategory/create',
    method: 'post',
    data
  })
}

export function fakeCategoryUpdate(data) {
  return request({
    url: '/fakeCategory/update',
    method: 'post',
    data
  })
}

export function fakeCategoryRemove(data) {
  return request({
    url: '/fakeCategory/remove',
    method: 'post',
    data
  })
}

